#ifndef __MX509_H__
#define __MX509_H__

#include <openssl/ssl.h>
#include "mitmssl.h"
X509 * MX509_buildCertificateForClientWithoutServer(Credentials *credentials);
X509 *     MX509_buildCertificateForClient(SSL *serverSession, Credentials *credentials);
EVP_PKEY * MX509_buildKeysForClient();

X509*      MX509_loadCertificateFromFile(char* file);
EVP_PKEY*  MX509_loadKeyFromFile(char* file);

#endif
